﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;


namespace Nachos.Library
{
    public class CallBack
    {
        public Action Handler { get; set;}

        public CallBack(Action handler)
        {
            this.Handler = handler;
        }

        public virtual void Call() 
        {
            Handler();
        }
    }
}
